//用于回复的ifrnme
sub keshiifrnme(ifrnmeid, leibie, upid)
ifrnmestr="【切换到高级编辑】<input name='neirong' type='hidden' id='neirong"&upid&"' />"&_
    "<div  align='center'><iframe id='HtmlEditor"&upid&"' MARGINHEIGHT='5px' MARGINWIDTH='5px' scrolling='no' width='98%' height='100'></iframe>"&_
	"<input type='button' name='Submit2' value='确定' onClick='huifugongneng(&quot;"&leibie&"&quot;, "&upid&"); quxiaostr(&quot;"&ifrnmeid&"&quot;, &quot;"&leibie&"&quot;, "&upid&")'  />"&_
	"<input type='button' name='Submit3' value='取消' onClick='quxiaostr(&quot;"&ifrnmeid&"&quot;, &quot;"&leibie&"&quot;, "&upid&")' /></div>"
document.getElementById(ifrnmeid).innerHTML=ifrnmestr

//代开ifrnme可写
set HtmlEditor=document.getElementById("HtmlEditor"&upid).contentWindow
HtmlEditor.document.designMode="On"
HtmlEditor.document.open()
//IframeID.document.write(StyleEditorHeader+document.form.content.value);
HtmlEditor.document.close()
HtmlEditor.document.body.contentEditable = "True"
HtmlEditor.document.body.style.fontSize="10pt"
end sub
sub quxiaostr(ifrnmeid, leibie, upid)
document.getElementById(ifrnmeid).innerHTML="▲<div class='bk' onclick='keshiifrnme(&quot;"&ifrnmeid&"&quot;, &quot;"&leibie&"&quot;, "&upid&")'>我来说两句</div>"
end sub
//提交ifrnme到neirong
sub neirongtijiao(upid)
set HtmlEditor=document.getElementById("HtmlEditor"&upid).contentWindow
document.getElementById("neirong"&upid).value=HtmlEditor.document.body.innerHTML
end sub
